import React from 'react';
import {HashRouter} from 'react-router-dom';
import RouterView from './router';
import config from './router/router.config';

import {Provider} from 'react-redux';
import store from './store/index';

function App() {
  return (
    <Provider store={store}>
      <HashRouter>
          <RouterView routes={config.routes} />
      </HashRouter>
    </Provider>   
  )
}

export default App;
